#app {
    font-family: Avenir, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #2c3e50;
}

.disease-header {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin: 20px 0 30px;
    color: #333;
    position: relative;
    padding-bottom: 15px;
}

.disease-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #409EFF;
}

.forum-container {
    height: 100vh;
    display: flex;
}

.el-aside {
    background-color: #f4f4f5;
    color: #333;
}

.left-section {
    padding: 20px;
}

.right-section {
    padding: 20px;
}
.filter-group {
  margin-bottom: 10px;
  border: 1px solid #eee;
  padding: 10px;
  border-radius: 5px;
}

.filter-controls {
  margin: 15px 0;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.interaction-and-post {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
  padding-top: 15px;
  justify-content: center;
}

.custom-badge .badge-count {
  display: inline-block;
  margin-left: 5px;
  padding: 0 5px;
  border-radius: 10px;
  background-color: #F56C6C;
  color: white;
  font-size: 12px;
  line-height: 18px;
}


  .el-badge {
    margin-right: 5px; /* 减小右边距 */
  }
  
  .el-badge__content {
    top: -10px !important; /* 上移标记位置 */
    right: -10px !important; /* 左移标记位置 */
    transform: scale(0.8); /* 稍微缩小标记 */
  }
  
  /* 按钮样式调整 */
  .interaction-and-post .el-button {
    padding: 8px 15px;
    position: relative; /* 为绝对定位的标记提供参考 */
  }
  
  /* 单独为获赞和回复按钮容器设置样式 */
  .badge-container {
    position: relative;
    display: inline-block;
    margin: 0 5px; /* 减小容器间距 */
  }
  
  /* 响应式调整 */
  @media (max-width: 768px) {
    .interaction-and-post {
      flex-direction: column;
      gap: 10px;
    }
    
    .el-badge__content {
      top: -5px !important;
      right: -5px !important;
    }
  }
.item {
    margin-top: 10px;
    margin-right: 10px;
}

.author-avatar,
.comment-avatar,
.reply-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
}

.post-author,
.comment-author,
.reply-author {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.author-nickname,
.comment-nickname,
.reply-nickname {
    font-weight: bold;
    margin-right: 10px;
}

.post-date,
.comment-date,
.reply-date {
    color: #999;
}

.reply-indicator {
    color: #909399;
    margin: 0 5px;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
}

.reply-indicator i {
    margin-right: 3px;
    font-size: 12px;
    color: #67C23A;
}

.replied-user {
    color: #409EFF;
    margin-left: 3px;
}

.comment-tag {
    color: #E6A23C;
    font-size: 0.8em;
    margin-left: 5px;
    padding: 2px 5px;
    background-color: #fdf6ec;
    border-radius: 3px;
}
.filter-controls {
    margin: 15px 0;
    display: flex;
    gap: 20px;
    justify-content: center;
  }
  
  
  
  /* 标识标签 */
  .sticky-mark {
    position: absolute;
    left: 10px;
    top: 10px;
    background: #67C23A;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
  }
  
  .essence-mark {
    position: absolute;
    left: 10px;
    top: 35px;
    background: #E6A23C;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 12px;
  }
  